package ${feignPackage};

<#list modelClassNames as modelClassName>
import ${modelClassName};
</#list>

/**
 * ${comment}
 */
@FeignClient(name = "${feignClassName}", url = "${host}")
@Lazy
<#if url != "">
@RequestMapping("${url}")
</#if>
public interface ${feignClassName} {

<#list methods as m>
    /**
     * ${m.comment}
     *
<#list m.tags as tag>
     * @${tag}
</#list>
     */
    @RequestMapping(value = "${m.url}", method = RequestMethod.${m.httpMethod})
    ${m.returnType} ${m.name}(<#list m.arguments as a><#if a_index!=0>, </#if><#list a.annotations as an>@${an} </#list>${a.type} ${a.name}</#list>);

</#list>
}
